/**
 * weiyinli.com Inc.
 * Copyright (c) 2006-2011 All Rights Reserved.
 */
package com.nmp.persistence.entity;

import java.util.Date;

/**
 * 实体基类
 * @author defier.lai
 * 2011-10-18 上午12:25:36
 * @version 1.0
 */
public class BaseEntity {
	
	private long id;
	/**
	 * 创建时间
	 */
	private Date createdAt;
	/**
	 * 更新时间
	 */
	private Date updatedAt;
	/**
	 * 创建者
	 */
	private String creator;
	/**
	 * 修改者
	 */
	private String modifier;

	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	
	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}
	
	public Date getCreatedAt() {
		return createdAt;
	}

	public void setUpdatedAt(Date updatedAt) {
		this.updatedAt = updatedAt;
	}
	
	public Date getUpdatedAt() {
		return updatedAt;
	}

	public void setModifier(String modifier) {
		this.modifier = modifier;
	}

	public String getModifier() {
		return modifier;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getCreator() {
		return creator;
	}

}
